import { getRequest, postRequest } from '/@/lib/axios';

export const userApi = {
  /**
   * 获取用户列表
   * @param {Object} params - 查询参数
   * @returns {Promise} - 返回用户列表
   */
  //   deptTreeSelect, listUser
  listUser: (params) => {
    return getRequest('/user/list', params);
  },
  deptTreeSelect: () => {
    return getRequest('/dept/treeSelect');
  },
};
